<template>
    <baseView>
        <DataTable class="rowClick" :tableColumn="tableColumn" :tableData="tableData" ref="tableRef" :total="tableData.length" >
        </DataTable>
    </baseView>
</template>

<script setup>
import { moduleManage } from "@/api/sys"

let tableData = ref([])
function getModuleManage() {
    moduleManage().then(res => {
        if (res.code == 200) {
            // tableData.value = res.data
            tableData.value = []
        }
    })
}
const tableColumn = [
    {
        label: '菜单名',
        prop: 'modulename'
    },
    {
        label: '分配角色名',
        prop: 'roles'
    }
]
onMounted(() => {
    getModuleManage()
})

</script>

<style lang="scss" scoped></style>